import React,{useEffect} from 'react';
import {Route,Link,Switch} from 'react-router-dom';
import User from "./pages/user/index"

function App() {
  return (
    <div>
      <Link to="/user/sunboy25">sunboy25</Link>
      <Switch>
        <Route path="/user/sunboy25" component={User} />
      </Switch>
    </div>
  );
}

export default App;
